/* 真题演练页面样式 */

/* 顶部导航 */
.sub-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background-color: var(--primary-color);
    color: white;
}

.sub-header h1 {
    font-size: 18px;
    margin: 0;
}

.back-btn, .header-action {
    color: white;
    font-size: 18px;
}

/* 年份选择器 */
.year-selector {
    display: flex;
    overflow-x: auto;
    padding: 10px 15px;
    background-color: var(--card-color);
    border-bottom: 1px solid var(--border-color);
}

.year {
    padding: 8px 15px;
    margin-right: 10px;
    border-radius: 20px;
    font-size: 14px;
    white-space: nowrap;
    background-color: var(--background-color);
    color: var(--text-color);
}

.year.active {
    background-color: var(--primary-color);
    color: white;
}

/* 试卷列表 */
.exam-list {
    padding: 15px;
}

.exam-card {
    background-color: var(--card-color);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.exam-info {
    margin-bottom: 15px;
}

.exam-info h3 {
    font-size: 16px;
    margin: 0 0 10px 0;
    color: var(--text-color);
}

.exam-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 12px;
    color: var(--light-text);
}

.exam-meta span {
    display: flex;
    align-items: center;
}

.exam-meta i {
    margin-right: 5px;
}

.exam-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.start-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.favorite-btn {
    background-color: transparent;
    border: 1px solid var(--border-color);
    color: var(--light-text);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.favorite-btn i {
    font-size: 16px;
}

/* 练习模式 */
.practice-modes {
    padding: 15px;
}

.section-title {
    font-size: 16px;
    margin: 0 0 15px 0;
    color: var(--text-color);
}

.mode-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.mode-card {
    background-color: var(--card-color);
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mode-card:hover {
    transform: translateY(-5px);
}

.mode-card i {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.mode-card h3 {
    font-size: 14px;
    margin: 0 0 5px 0;
    color: var(--text-color);
}

.mode-card p {
    font-size: 12px;
    margin: 0;
    color: var(--light-text);
}

/* 响应式调整 */
@media (min-width: 768px) {
    .mode-cards {
        grid-template-columns: repeat(4, 1fr);
    }
} 